﻿@model Dal.Entities.DocCommon
@{
    Layout = null;
}
@{int ti = 0;}
<table cellspacing="0" summary="table" class="broom_table" width="90%">
    <tbody>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                <span>入组日期</span>
            </td>
            <td>
                <div class="rili">
                    @Html.TextBox("inputtime", Model != null && Model.InputTime.HasValue ? Model.InputTime.Value.ToString("yyyy-MM-dd") : null, new { @class = "inputbox date-pick", @readonly = "readonly" })
                </div>
            </td>
            <td>
            </td>
        </tr>
        @if (ViewBag.DocType == 2)
        {
            <tr class="@(ti % 2 == 1 ? "odd" : "even")">
                <td>
                    @(ti++)
                </td>
                <td>
                    病例号
                </td>
                <td>
                    @Html.TextBoxFor(i => i.MedicalNumber_2, new { @class = "inputbox" })
                </td>
                <td>
                </td>
            </tr>
        }
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                填表医生姓名
            </td>
            <td>
                @Html.TextBoxFor(i => i.DoctorName, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                科别
            </td>
            <td>
                @Html.RadioButtonFor(i => i.SubjectName, "内分泌", new { id = "subject1", onclick = "hide('SubjectName_Other')" })内分泌
                <br />
                @Html.RadioButtonFor(i => i.SubjectName, "其他", new { id = "subject2", onclick = "show('SubjectName_Other')" })其他
                &nbsp;&nbsp; @Html.TextBoxFor(i => i.SubjectName_Other)
                <script type="text/javascript">
                    associate("subject2", "SubjectName_Other");
                </script>
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                医生手机
            </td>
            <td>
                @Html.TextBoxFor(i => i.DoctorMobile, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
        <tr class="@(ti % 2 == 1 ? "odd" : "even")">
            <td>
                @(ti++)
            </td>
            <td>
                医院(全称)
            </td>
            <td>
                @Html.TextBoxFor(i => i.HospitalName, new { @class = "inputbox" })
            </td>
            <td>
            </td>
        </tr>
    </tbody>
</table>
